﻿using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;

namespace Camc.Quality.Dto
{
    public class PadJurisdictionDto : FullAuditedEntityDto<Guid>
    {
        public string UserName { get; set; }

        public string Name { get; set; }

        public long UserId { get; set; }

        public List<RoleModel> UserRoles { get; set; }

        public List<string> Permissions { get; set; }

        public string PlaintextPwd { get; set; }

        public List<OrganizationModel> Organizations { get; set; }

    }

    public class RoleModel {

        public  int RoleId { get; set; }

        public  string DisplayName { get; set; }

    }

    public class OrganizationModel
    {
        public long? OrganizationUnitId { get; set; }

        public string OrganizationUnitDisplayName { get; set; }
    }
}
